home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / X11 / Fresco / build / Unix / config / cf / svr4.cf < prev    next >
Text File  |  1995-07-12  |  3KB  |  138 lines

  1. XCOMM $XConsortium: svr4.cf,v 1.11 95/01/25 16:32:39 kaleb Exp $
  2. /*
  3.  * A default OS name
  4.  */
  5. #ifndef OSName
  6. #ifdef i386Architecture
  7. #define    OSName    UNIX System V/386 Release 4
  8. #else
  9. #define    OSName    UNIX System V Release 4
  10. #endif
  11. #endif
  12. #ifndef OSVendor
  13. #define OSVendor /**/
  14. #endif
  15.  
  16. /*
  17.  * The default version will be 4.0.0 which should be
  18.  * the least common denominator of all SVR4
  19.  */
  20.  
  21. #ifndef OSMajorVersion
  22. #define    OSMajorVersion    4
  23. #endif
  24. #ifndef OSMinorVersion
  25. #define    OSMinorVersion    0
  26. #endif
  27. #ifndef OSTeenyVersion
  28. #define    OSTeenyVersion    0
  29. #endif
  30. #ifndef BootstrapCFlags
  31. #ifdef i386Architecture
  32. #define BootstrapCFlags        -DSVR4 -Di386
  33. #else
  34. #ifdef SYSV386
  35. #define BootstrapCFlags        -DSVR4 -Di386
  36. #else
  37. #define BootstrapCFlags        -DSVR4
  38. #endif
  39. #endif
  40. #endif
  41.  
  42. /* Some stuff that all SVR4s should have */
  43.  
  44. #define SystemV4    YES
  45. #ifndef HasLdRunPath
  46. #define HasLdRunPath    YES
  47. #endif
  48. #define HasPoll        YES
  49. #ifndef SVR4Architecture
  50. #define SVR4Architecture
  51. #endif
  52. #ifndef PatheticCpp
  53. #define PatheticCpp    YES
  54. #endif
  55.  
  56. /*
  57.  * Here are the default paths to use to pick up tools for building.
  58.  */
  59. #ifndef ArCmdBase
  60. #define    ArCmdBase    /usr/ccs/bin/ar
  61. #endif
  62. #ifndef AsCmd
  63. #define    AsCmd    /usr/ccs/bin/as
  64. #endif
  65. #ifndef CppCmd
  66. #define    CppCmd    /usr/ccs/lib/cpp
  67. #endif
  68. #ifndef LdCmd
  69. #define    LdCmd    /usr/ccs/bin/ld
  70. #endif
  71. #ifndef LexCmd
  72. #define    LexCmd    /usr/ccs/bin/lex
  73. #endif
  74. #ifndef MakeCmd
  75. #define    MakeCmd    /usr/ccs/bin/make
  76. #endif
  77. #ifndef YaccCmd
  78. #define    YaccCmd    /usr/ccs/bin/yacc
  79. #endif
  80.  
  81. #if (OSMinorVersion == 0)
  82. #ifndef XawI18nDefines
  83. #define XawI18nDefines        -DUSE_XWCHAR_STRING
  84. #endif
  85. #endif
  86.  
  87. #ifdef i386Architecture
  88. #ifndef StandardDefines
  89. #define StandardDefines        -DSVR4 -Di386
  90. #endif
  91. #ifndef DefaultCCOptions
  92. #if HasGcc2
  93. #if !defined(SunArchitecture)
  94. #define DefaultCCOptions -ansi
  95. #endif
  96. #else
  97. #define DefaultCCOptions -Xc -Dasm=__asm
  98. #endif
  99. #endif
  100. #ifndef DefaultCDebugFlags
  101. #if HasGcc2
  102. #define DefaultCDebugFlags -O2
  103. #else
  104. #define DefaultCDebugFlags -O
  105. #endif
  106. #endif
  107. #ifndef ServerOSDefines
  108. #define ServerOSDefines -DDDXTIME XFree86ServerOSDefines
  109. #endif
  110. #endif
  111.  
  112. /*
  113.  * The TLI interface is more robust on most SVR4s, so it will be the default.
  114.  */
  115. #if !defined(SunArchitecture)
  116. #ifndef ConnectionFlags
  117. #define ConnectionFlags    -DSTREAMSCONN -DUNIXCONN -DLOCALCONN
  118. #endif
  119. #endif
  120.  
  121. #ifndef ManSuffix
  122. #define ManSuffix               1x
  123. #define ManDir            $(MANSOURCEPATH)1
  124. #endif
  125. #ifndef LibManSuffix
  126. #define LibManSuffix            3x
  127. #define LibmanDir        $(MANSOURCEPATH)3
  128. #endif
  129. #ifndef FileManSuffix
  130. #define FileManSuffix           4
  131. #endif
  132.  
  133. #ifdef i386Architecture
  134. #include <xfree86.cf>
  135. #endif
  136.  
  137. #include <sv4Lib.rules>
  138.